//
//  SLTipAlertView.h
//  SlockApp
//
//  Created by 凯朱 on 2024/7/23.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface SLTipAlertView : UIView
@property (weak, nonatomic) IBOutlet UILabel *titleLbl;
@property (weak, nonatomic) IBOutlet UILabel *contentLbl;
@property (weak, nonatomic) IBOutlet UILabel *contentLbl2;
@property (weak, nonatomic) IBOutlet ZKBaseButton *doneBtn;
@property (weak, nonatomic) IBOutlet ZKBaseButton *cancelBtn;
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bgViewHeight;
@property (nonatomic,copy) void (^btnBlock)(NSInteger btnIndex);
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *cancelBtnHeight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *cancelTopSpace;

+(SLTipAlertView *)showWith:(NSString *)title content1:(NSString *)content1 content2:(NSString *)content2 doneBtn:(NSString *)doneBtn cancelBtn:(NSString *)cancelBtn action:(void(^)(NSInteger index))action;
@end

NS_ASSUME_NONNULL_END
